﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using Volo.Abp.Domain.Entities;

namespace Logistics.Model
{
    /// <summary>
    /// 日志表
    /// </summary>
    [Table("UserLog")]
    public class UserLog : Entity<int>
    {
        /// <summary>
        /// 当前登陆人
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 当前Ip地址
        /// </summary>
        public string IpAdress { get; set; }

        /// <summary>
        /// 本次登陆时间
        /// </summary>
        public DateTime ThisLoginTime { get; set; }

        /// <summary>
        /// 上次登陆时间
        /// </summary>
        public DateTime LastLoginTime { get; set; }
    }
}